﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="A_ChiTietDonHang.aspx.cs" Inherits="admin_A_ChiTietDonHang" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0" align="center">
                 <tr><td>Mã Đơn Hàng</td>
                <td>
                    <asp:Literal ID="lit_mahd" runat="server"></asp:Literal>
                   
                </td></tr>
                <tr><td>Nhân Viên</td>
                 <td>
                     <asp:Literal ID="lit_manhanvien" runat="server"></asp:Literal></td></tr>
                     <tr><td>Khách Hàng</td><td>
                         <asp:Literal ID="lit_makhachhang" runat="server"></asp:Literal></td></tr>
                     <tr><td>Hình Thức Thanh Toán</td><td>
                         <asp:Literal ID="lit_mahinhthuctt" runat="server"></asp:Literal></td></tr>
                         
                  <tr><td>Tình Trạng</td>  <td>
                      <asp:DropDownList ID="hpl_tinhtrang" runat="server">
                      </asp:DropDownList><asp:Button
                             ID="btn_capnhat" runat="server" Text="Cập nhật tình trạng" OnClick="btn_capnhat_Click"/></td></tr>
                   <tr> <td>Ngày Đặt Hàng</td> <td>
                         <asp:Literal ID="lit_ngaydathang" runat="server"></asp:Literal></td></tr>
                       <tr>  <td>Ngày Giao Hàng</td>   <td>
                         <asp:Literal ID="lit_ngaygiaohang" runat="server"></asp:Literal></td></tr> 
                         
                         <tr>   <td>Địa Chỉ Giao</td>       <td>
                         <asp:Literal ID="lit_diachigiao" runat="server"></asp:Literal></td></tr> 
                         <tr> <td>Tổng Tiền</td>        <td>
                         <asp:Literal ID="lit_tongtien" runat="server"></asp:Literal></td></tr> 
           </table>
    <table style="width: 765px">
        <tr>
            <td style="width: 771px; height: 8px;">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; Danh sách sản phẩm đã mua
            </td>
        </tr>
        <tr>
            <td style="width: 771px" >
            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Sản phẩm</th>
                        <th>Số lượng</th>
                        <th>Đơn giá</th>
                        <th>Thành Tiền</th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td>
                    <asp:Literal ID="lit_TenSP" runat="server"></asp:Literal></td>
                <td><%#Eval("SoLuong") %></td>
                <td>
                   <%#Eval("DonGia") %>
                </td>
                 <td>
                    <asp:Literal ID="lit_ThanhTien" runat="server"></asp:Literal></td>
              
                
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>
            </td>
        </tr>
    </table>
    <cc1:pagerv2_8 id="ptrangchitietdonhang" runat="server" OnCommand="ptrangchitietdonhang_Command"></cc1:pagerv2_8>
              
</asp:Content>

